package univer.oko.queryAnalizer;


/**
 * Created by Sergey Kharlamov.
 * Date: 16.07.2006
 * Time: 9:56:27
 */
class CDTreeNode {
    public CDTreeNode(NodeType nodeType, Object tag, String name) {
        this.nodeType = nodeType;
        this.tag = tag;
        this.name = name;
    }

    private NodeType nodeType;
    private Object tag;
    private String name;

    public NodeType getNodeType() {
        return nodeType;
    }

    public void setNodeType(NodeType nodeType) {
        this.nodeType = nodeType;
    }

    public String toString() {
        return name;
    }

    public Object getTag() {
        return tag;
    }

    public void setTag(Object tag) {
        this.tag = tag;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}

